package com.ruoyi.web.controller.wq;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import com.ruoyi.common.core.controller.BaseController;
import com.ruoyi.common.core.page.TableDataInfo;
import com.ruoyi.wq.domain.WqNoticeGive;
import com.ruoyi.wq.service.IWqNoticeGiveService;

/**
 * 点赞通知Controller
 * 
 * @author ruoyi
 * @date 2022-07-08
 */
@RestController
@RequestMapping("/wq/noticeGive")
public class WqNoticeGiveController extends BaseController{
    
	@Autowired
    private IWqNoticeGiveService wqNoticeGiveService;

    /**
     * 查询点赞通知列表
     */
    @GetMapping("/list")
    public TableDataInfo list(WqNoticeGive wqNoticeGive){
    	TableDataInfo list = wqNoticeGiveService.getPageList(wqNoticeGive);
    	wqNoticeGiveService.updateGiveRead();
        return list;
    }

}
